﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace HomeRun.DB.RowState
{
  class RowStateOfCreate:RowStateBase 
  {
    public RowStateOfCreate(DataRow newRow)
      : base(newRow)
    {
    }

    public override bool Replay()
    {
      DataRow row = FindRow();
      if (row != null)
      {
        row.Delete();
        return true;
      }
      return false;
    }
  }
}
